//
// Created by Administrator on 2020/2/28 0028.
//

#include <string>
#include <iostream>

using namespace std;

class Point {
public:
    void setPoint(int x, int y) //实现setPoint函数
    {
        xPos = x;
        yPos = y;
    }

    string getString() {
        return "Point2222";
    }

    void printPoint() //实现printPoint函数
    {
        cout << "x = " << xPos << endl;
        cout << "y = " << yPos << endl;
    }

private:
    int xPos;
    int yPos;
};
